package net.ddns.heroli.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Transient;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.UpdateIgnore;
//import org.beetl.sql.core.annotatoin.Table;
import javax.persistence.Table;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.com.gzheroli.bfw.pojo.base.TSUser;
/**   
 * @Title: Entity
 * @Description: 送货地址管理表
 * @author 李长荣
 * @date 2017-12-20 09:12:30
 * @version V1.0   
 *
 */
 @Table(name="t_b_addresses")
public class TBAddresses implements java.io.Serializable {

  @Column(name="ID")
  private java.lang.String id;//id

  @Column(name="UPDATE_BY")
  private java.lang.String updateBy;//updateBy

  @Column(name="UPDATE_TIME")
  private java.util.Date updateTime;//updateTime

  @Column(name="USER_ID")
  private java.lang.String userId;//用户ID

  @Column(name="COUNTRY")
  private java.lang.String country;//国家

  @Column(name="PROVINCE")
  private java.lang.String province;//省份

  @Column(name="CITY")
  private java.lang.String city;//城市

  @Column(name="DISTRICT")
  private java.lang.String district;//区/镇

  @Column(name="DETAIL")
  private java.lang.String detail;//详细地址

  @Column(name="IS_DEFAULT")
  private java.lang.String isDefault;//是否默认地址

  @Column(name="CONSIGNEE_NAME")
  private java.lang.String consigneeName;//收货人姓名

  @Column(name="CONSIGNEE_NUMBER")
  private java.lang.String consigneeNumber;//收货人手机号

  @Column(name="PROVINCE_CODE")
  private java.lang.String provinceCode;//省代码

  @Column(name="CITY_CODE")
  private java.lang.String cityCode;//市代码

  @Column(name="DISTRICT_CODE")
  private java.lang.String districtCode;//区/镇代码

  @Column(name="UPDATE_BY_NAME")
  private java.lang.String updateByName;//更新人名字

  /**
	 *方法: 取得id
	 *return: id  id
	 */
  public java.lang.String getId() {
      return this.id;
  }
  public void setId(java.lang.String id) {
      this.id = id;
  }

  /**
	 *方法: 取得updateBy
	 *return: updateBy  updateBy
	 */
  public java.lang.String getUpdateBy() {
      return this.updateBy;
  }
  public void setUpdateBy(java.lang.String updateBy) {
      this.updateBy = updateBy;
  }

  /**
	 *方法: 取得updateTime
	 *return: updateTime  updateTime
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
  public java.util.Date getUpdateTime() {
      return this.updateTime;
  }
  public void setUpdateTime(java.util.Date updateTime) {
      this.updateTime = updateTime;
  }

  /**
	 *方法: 取得userId
	 *return: userId  用户ID
	 */
  public java.lang.String getUserId() {
      return this.userId;
  }
  public void setUserId(java.lang.String userId) {
      this.userId = userId;
  }

  /**
	 *方法: 取得country
	 *return: country  国家
	 */
  public java.lang.String getCountry() {
      return this.country;
  }
  public void setCountry(java.lang.String country) {
      this.country = country;
  }

  /**
	 *方法: 取得province
	 *return: province  省份
	 */
  public java.lang.String getProvince() {
      return this.province;
  }
  public void setProvince(java.lang.String province) {
      this.province = province;
  }

  /**
	 *方法: 取得city
	 *return: city  城市
	 */
  public java.lang.String getCity() {
      return this.city;
  }
  public void setCity(java.lang.String city) {
      this.city = city;
  }

  /**
	 *方法: 取得district
	 *return: district  区/镇
	 */
  public java.lang.String getDistrict() {
      return this.district;
  }
  public void setDistrict(java.lang.String district) {
      this.district = district;
  }

  /**
	 *方法: 取得detail
	 *return: detail  详细地址
	 */
  public java.lang.String getDetail() {
      return this.detail;
  }
  public void setDetail(java.lang.String detail) {
      this.detail = detail;
  }

  /**
	 *方法: 取得isDefault
	 *return: isDefault  是否默认地址
	 */
  public java.lang.String getIsDefault() {
      return this.isDefault;
  }
  public void setIsDefault(java.lang.String isDefault) {
      this.isDefault = isDefault;
  }

  /**
	 *方法: 取得consigneeName
	 *return: consigneeName  收货人姓名
	 */
  public java.lang.String getConsigneeName() {
      return this.consigneeName;
  }
  public void setConsigneeName(java.lang.String consigneeName) {
      this.consigneeName = consigneeName;
  }

  /**
	 *方法: 取得consigneeNumber
	 *return: consigneeNumber  收货人手机号
	 */
  public java.lang.String getConsigneeNumber() {
      return this.consigneeNumber;
  }
  public void setConsigneeNumber(java.lang.String consigneeNumber) {
      this.consigneeNumber = consigneeNumber;
  }

  /**
	 *方法: 取得provinceCode
	 *return: provinceCode  省代码
	 */
  public java.lang.String getProvinceCode() {
      return this.provinceCode;
  }
  public void setProvinceCode(java.lang.String provinceCode) {
      this.provinceCode = provinceCode;
  }

  /**
	 *方法: 取得cityCode
	 *return: cityCode  市代码
	 */
  public java.lang.String getCityCode() {
      return this.cityCode;
  }
  public void setCityCode(java.lang.String cityCode) {
      this.cityCode = cityCode;
  }

  /**
	 *方法: 取得districtCode
	 *return: districtCode  区/镇代码
	 */
  public java.lang.String getDistrictCode() {
      return this.districtCode;
  }
  public void setDistrictCode(java.lang.String districtCode) {
      this.districtCode = districtCode;
  }

  /**
	 *方法: 取得updateByName
	 *return: updateByName  更新人名字
	 */
  public java.lang.String getUpdateByName() {
      return this.updateByName;
  }
  public void setUpdateByName(java.lang.String updateByName) {
      this.updateByName = updateByName;
  }

    public String toString(TBAddresses rm,TSUser user) {
	  return "";
  }
	
}